﻿<%@ page language="C#" autoeventwireup="true" Codebehind="Display.aspx.cs" async="true" inherits="StreetSmartAdmin.Display" %>
<%@ Register TagPrefix="CustUserCtrl" TagName="Header" Src="Header.ascx" %>
<%@ Register TagPrefix="CustUserCtrl" TagName="Footer" Src="Footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Street Smart Admin</title>
    <link type="text/css" rel="stylesheet" href="style.css" />
    <link href="tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="tablecloth/tablecloth.js"></script>

</head>
<body>
<form id="form1" runat="server">
<CustUserCtrl:Header id="Header" runat="server"></CustUserCtrl:Header>
<br />
    <table cellspacing="0" cellpadding="0">
        <tr>
            <th>
                <center><h3>User</h3></center></th>
            <th>
                <center><h3>Converted Today</h3></center></th>
            <th>
                <center><h3>Converted This Month</h3></center></th>
            <th>
                <center><h3>Total Converted</h3></center></th>
        </tr>
        <% foreach (StreetSmartAdmin.Result result in ResultDisplay)
           { %>
        <tr>
            <td>
                <center><h3><%=result.Operator%></h3></center></td>
            <td>
                <center><h3><%=result.DayResult%></h3></center></td>
            <td>
                <center><h3><%=result.MonthResult%></h3></center></td>
            <td>
                <center><h3><%=result.TotalResult%></h3></center></td>
        </tr>
        <% } %>

        <tr>
            <td>
                <center><h3>Total</h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.AllDayResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.AllMonthResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.AllResult%></h3></center></td>
        </tr>
</table>
<br />
    <table cellspacing="0" cellpadding="0">
        <tr>
            <th>
                <center><h3>Customer Type</h3></center></th>
            <th>
                <center><h3>Registrations</h3></center></th>
            <th>
                <center><h3>Elec Converted</h3></center></th>
            <th>
                <center><h3>Gas Converted</h3></center></th>
            <th>
                <center><h3>Total Converted</h3></center></th>
            <th>
                <center><h3>$ Value Per Year</h3></center></th>
        </tr>
        <tr>
            <td>
                <center><h3>RESI</h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.resNmberResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.resEleResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.resGasResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.resTotResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.resValueResult%></h3></center></td>
        </tr>
        <tr>
            <td>
                <center><h3>SME</h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.busNumberResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.busEleResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.busGasResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.busTotResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.busValueResult%></h3></center></td>
        </tr>
        <tr>
            <td>
                <center><h3>C&I</h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.comNumberResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.comEleResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.comGasResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.comTotResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.comValueResult%></h3></center></td>
        </tr>
        <tr>
            <td>
                <center><h3>Total</h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.totalNumberResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.totalEleResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.totalGasResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.totalTotResult%></h3></center></td>
            <td>
                <center><h3><%=StreetSmartAdmin.Display.totalValueResult%></h3></center></td>
        </tr>
    </table>
    <CustUserCtrl:Footer id="Footer" runat="server"></CustUserCtrl:Footer>
</form>
</body>
</html>
